const path = require("path");
const platform = process.platform;
let filePath = '';
switch (platform) {
    case "linux":
        filePath = __dirname + "/01-file-dir-name.js";
        break;
    case "win32":
        filePath = __dirname + "\\01-file-dir-name.js";
        break;
    default:
        console.log("other platform");
}
console.log(filePath);
console.log(__filename);
console.log(__dirname);


